package com.firewolf.shiro.filters;

import org.apache.shiro.web.servlet.OncePerRequestFilter;

import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import java.io.IOException;

public class MyOncePerRequestFilter extends OncePerRequestFilter {
	@Override
	protected void doFilterInternal(ServletRequest request, ServletResponse response,
			FilterChain chain)
			throws ServletException, IOException {
		System.out.println("=========once per request filter");
		chain.doFilter(request, response);
	}
}
